package com.appcelerator.mq {
	public class Message {
		private var m_name:String;
		private var m_scope:String;
		private var m_payload:Object;
		
		//Constructor
		public function Message(name:String, payload:Object=null, scope:String="default") {
			this.m_name = name;
			this.m_scope = scope;
			this.m_payload = payload;
		}
		
		//Get/Set payload
		public function get payload():Object {
			return this.m_payload;
		}
		
		public function set payload(payload:Object):void {
			this.m_payload = payload;
		}
		
		//Get/set scope
		public function get scope():String {
			return this.m_scope;
		}
		
		public function set scope(scope:String):void {
			this.m_scope = scope;
		}
		
		//Get/set name
		public function get name():String {
			return this.m_name;
		}
		
		public function set name(name:String):void {
			this.m_name = name;
		}
	}
}